package com.chuangsi.project.admin.dto.app.index;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author wangshengming
 * @date 2023/4/6
 */
@Data
public class WeekSalesAmountDto {

    @ApiModelProperty(value = "星期")
    private String week;

    @ApiModelProperty(value = "这周销售额")
    private BigDecimal thisWeekSalesAmount;

    @ApiModelProperty(value = "上周销售额")
    private BigDecimal lastWeekSalesAmount;


    public WeekSalesAmountDto(BigDecimal thisWeekSalesAmount, BigDecimal lastWeekSalesAmount, String week) {
        this.thisWeekSalesAmount = thisWeekSalesAmount;
        this.lastWeekSalesAmount = lastWeekSalesAmount;
        this.week = week;
    }
}
